﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace ZR.Model.mes.md
{
    /// <summary>
    /// 工艺组成表
    ///</summary>
    [SugarTable("md_proroute_sort")]
    public class MdProrouteSort
    {
        /// <summary>
        /// 流水号 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int Id { get; set; }
        /// <summary>
        /// 工艺路线id 
        ///</summary>
         [SugarColumn(ColumnName="fk_proroute_id"    )]
         public int? FkProrouteId { get; set; }
        /// <summary>
        /// 工序 
        ///</summary>
         [SugarColumn(ColumnName="fk_worksort_id"    )]
         public int? FkWorksortId { get; set; }
        /// <summary>
        /// 排序 
        ///</summary>
         [SugarColumn(ColumnName="sort"    )]
         public int? Sort { get; set; }
        /// <summary>
        /// 租户号 
        ///</summary>
         [SugarColumn(ColumnName="TENANT_ID"    )]
         public string TenantId { get; set; }
        /// <summary>
        /// 乐观锁 
        ///</summary>
         [SugarColumn(ColumnName="REVISION"    )]
         public int? Revision { get; set; }
        /// <summary>
        /// 创建人 
        ///</summary>
         [SugarColumn(ColumnName="CREATED_BY"    )]
         public string CreatedBy { get; set; }
        /// <summary>
        /// 创建时间 
        ///</summary>
         [SugarColumn(ColumnName="CREATED_TIME"    )]
         public DateTime? CreatedTime { get; set; }
        /// <summary>
        /// 更新人 
        ///</summary>
         [SugarColumn(ColumnName="UPDATED_BY"    )]
         public string UpdatedBy { get; set; }
        /// <summary>
        /// 更新时间 
        ///</summary>
         [SugarColumn(ColumnName="UPDATED_TIME"    )]
         public DateTime? UpdatedTime { get; set; }
    }
}
